<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: cy_stc_sar2_channel_config_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structcy__stc__sar2__channel__config__t.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">cy_stc_sar2_channel_config_t Struct Reference<div class="ingroups"><a class="el" href="group__group__sar2.html">SAR2         (Analog to Digital Converter (ADC))</a> &raquo; <a class="el" href="group__group__sar2__data__structures.html">Data structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<div class="textblock"><p>Configuration structure of the SAR2 ADC channel. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:af729622f4adf0f92a2a1f53301d3297b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#af729622f4adf0f92a2a1f53301d3297b">channelHwEnable</a></td></tr>
<tr class="memdesc:af729622f4adf0f92a2a1f53301d3297b"><td class="mdescLeft">&#160;</td><td class="mdescRight">If HW is started, or just configured.  <a href="#af729622f4adf0f92a2a1f53301d3297b">More...</a><br /></td></tr>
<tr class="separator:af729622f4adf0f92a2a1f53301d3297b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac43dee0b9b6ad3a964309d979a31a746"><td class="memItemLeft" align="right" valign="top"><a id="ac43dee0b9b6ad3a964309d979a31a746"></a>
<a class="el" href="group__group__sar2__enums.html#gaba3cfba41b39cb3b447d613b48229198">cy_en_sar2_trigger_selection_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#ac43dee0b9b6ad3a964309d979a31a746">triggerSelection</a></td></tr>
<tr class="memdesc:ac43dee0b9b6ad3a964309d979a31a746"><td class="mdescLeft">&#160;</td><td class="mdescRight">The ADC trigger mode selection, see <a class="el" href="group__group__sar2__enums.html#gaba3cfba41b39cb3b447d613b48229198">cy_en_sar2_trigger_selection_t</a>. <br /></td></tr>
<tr class="separator:ac43dee0b9b6ad3a964309d979a31a746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad54b193295aa5640c24d44c269996b7a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#ad54b193295aa5640c24d44c269996b7a">channelPriority</a></td></tr>
<tr class="memdesc:ad54b193295aa5640c24d44c269996b7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel priority.  <a href="#ad54b193295aa5640c24d44c269996b7a">More...</a><br /></td></tr>
<tr class="separator:ad54b193295aa5640c24d44c269996b7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa38ce2d0c7e5097543c1926700b09f7"><td class="memItemLeft" align="right" valign="top"><a id="afa38ce2d0c7e5097543c1926700b09f7"></a>
<a class="el" href="group__group__sar2__enums.html#gab8244721c05442758f3f1b61792e80c6">cy_en_sar2_preemption_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#afa38ce2d0c7e5097543c1926700b09f7">preenptionType</a></td></tr>
<tr class="memdesc:afa38ce2d0c7e5097543c1926700b09f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The ADC preemption type selection, see <a class="el" href="group__group__sar2__enums.html#gab8244721c05442758f3f1b61792e80c6">cy_en_sar2_preemption_type_t</a>. <br /></td></tr>
<tr class="separator:afa38ce2d0c7e5097543c1926700b09f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76e8d1014d585a327dd0f9fb3289006e"><td class="memItemLeft" align="right" valign="top"><a id="a76e8d1014d585a327dd0f9fb3289006e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a76e8d1014d585a327dd0f9fb3289006e">isGroupEnd</a></td></tr>
<tr class="memdesc:a76e8d1014d585a327dd0f9fb3289006e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This value indicates that this channel is the last channel of a group or not. <br /></td></tr>
<tr class="separator:a76e8d1014d585a327dd0f9fb3289006e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86f46d37c4e7f63dd22f148672f1a69f"><td class="memItemLeft" align="right" valign="top"><a id="a86f46d37c4e7f63dd22f148672f1a69f"></a>
<a class="el" href="group__group__sar2__enums.html#ga58c18b78c56fdbb823714b7ad28b3b59">cy_en_sar2_done_level_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a86f46d37c4e7f63dd22f148672f1a69f">doneLevel</a></td></tr>
<tr class="memdesc:a86f46d37c4e7f63dd22f148672f1a69f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion done, trigger output selection, see <a class="el" href="group__group__sar2__enums.html#ga58c18b78c56fdbb823714b7ad28b3b59">cy_en_sar2_done_level_t</a>. <br /></td></tr>
<tr class="separator:a86f46d37c4e7f63dd22f148672f1a69f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f6314e95c3a7779d57518e3ed5192af"><td class="memItemLeft" align="right" valign="top"><a id="a4f6314e95c3a7779d57518e3ed5192af"></a>
<a class="el" href="group__group__sar2__enums.html#gaff7c2edefeb5747dbe17f065a27973e3">cy_en_sar2_pin_address_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a4f6314e95c3a7779d57518e3ed5192af">pinAddress</a></td></tr>
<tr class="memdesc:a4f6314e95c3a7779d57518e3ed5192af"><td class="mdescLeft">&#160;</td><td class="mdescRight">The address of the analog signal (pin) to be sampled by a corresponding channel, see <a class="el" href="group__group__sar2__enums.html#gaff7c2edefeb5747dbe17f065a27973e3">cy_en_sar2_pin_address_t</a>. <br /></td></tr>
<tr class="separator:a4f6314e95c3a7779d57518e3ed5192af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84300847284eee39114d2a83bdee6e72"><td class="memItemLeft" align="right" valign="top"><a id="a84300847284eee39114d2a83bdee6e72"></a>
<a class="el" href="group__group__sar2__enums.html#gadfcc89e9de3212bd0eb47a9bc4d18e8f">cy_en_sar2_port_address_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a84300847284eee39114d2a83bdee6e72">portAddress</a></td></tr>
<tr class="memdesc:a84300847284eee39114d2a83bdee6e72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the physical port, see <a class="el" href="group__group__sar2__enums.html#gadfcc89e9de3212bd0eb47a9bc4d18e8f">cy_en_sar2_port_address_t</a>. <br /></td></tr>
<tr class="separator:a84300847284eee39114d2a83bdee6e72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a7f4c53be120ca2f61bd0c6066978a6"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a7a7f4c53be120ca2f61bd0c6066978a6">extMuxSelect</a></td></tr>
<tr class="memdesc:a7a7f4c53be120ca2f61bd0c6066978a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">External analog mux selection.  <a href="#a7a7f4c53be120ca2f61bd0c6066978a6">More...</a><br /></td></tr>
<tr class="separator:a7a7f4c53be120ca2f61bd0c6066978a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8124b9249f78f966f76aa4d1c024821"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#ac8124b9249f78f966f76aa4d1c024821">extMuxEnable</a></td></tr>
<tr class="memdesc:ac8124b9249f78f966f76aa4d1c024821"><td class="mdescLeft">&#160;</td><td class="mdescRight">External analog mux enable.  <a href="#ac8124b9249f78f966f76aa4d1c024821">More...</a><br /></td></tr>
<tr class="separator:ac8124b9249f78f966f76aa4d1c024821"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a140aff21ae5b4a28c5728ef2e9a2ff50"><td class="memItemLeft" align="right" valign="top"><a id="a140aff21ae5b4a28c5728ef2e9a2ff50"></a>
<a class="el" href="group__group__sar2__enums.html#ga75f6f289e993b67ada3222e4394c378b">cy_en_sar2_precondition_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a140aff21ae5b4a28c5728ef2e9a2ff50">preconditionMode</a></td></tr>
<tr class="memdesc:a140aff21ae5b4a28c5728ef2e9a2ff50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select Preconditioning mode, see <a class="el" href="group__group__sar2__enums.html#ga75f6f289e993b67ada3222e4394c378b">cy_en_sar2_precondition_mode_t</a>. <br /></td></tr>
<tr class="separator:a140aff21ae5b4a28c5728ef2e9a2ff50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98f3bd2e1545a417698a1393a00734ba"><td class="memItemLeft" align="right" valign="top"><a id="a98f3bd2e1545a417698a1393a00734ba"></a>
<a class="el" href="group__group__sar2__enums.html#ga481e014914f83c1d91387b4adb96fa07">cy_en_sar2_overlap_diag_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a98f3bd2e1545a417698a1393a00734ba">overlapDiagMode</a></td></tr>
<tr class="memdesc:a98f3bd2e1545a417698a1393a00734ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select Overlap mode or SARMUX Diagnostics, see <a class="el" href="group__group__sar2__enums.html#ga481e014914f83c1d91387b4adb96fa07">cy_en_sar2_overlap_diag_mode_t</a>. <br /></td></tr>
<tr class="separator:a98f3bd2e1545a417698a1393a00734ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae71ad4dbcdb8d15ab1d1587c978a054d"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#ae71ad4dbcdb8d15ab1d1587c978a054d">sampleTime</a></td></tr>
<tr class="memdesc:ae71ad4dbcdb8d15ab1d1587c978a054d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sample time (aperture) in ADC clock cycles.  <a href="#ae71ad4dbcdb8d15ab1d1587c978a054d">More...</a><br /></td></tr>
<tr class="separator:ae71ad4dbcdb8d15ab1d1587c978a054d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e5d4f504521943187596cd272f63a64"><td class="memItemLeft" align="right" valign="top"><a id="a5e5d4f504521943187596cd272f63a64"></a>
<a class="el" href="group__group__sar2__enums.html#ga6e18ece2315322338730e4430758a9b3">cy_en_sar2_calibration_value_select_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a5e5d4f504521943187596cd272f63a64">calibrationValueSelect</a></td></tr>
<tr class="memdesc:a5e5d4f504521943187596cd272f63a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select calibration values, see <a class="el" href="group__group__sar2__enums.html#ga6e18ece2315322338730e4430758a9b3">cy_en_sar2_calibration_value_select_t</a>. <br /></td></tr>
<tr class="separator:a5e5d4f504521943187596cd272f63a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e54cf228885ed3f277aa2878fac4526"><td class="memItemLeft" align="right" valign="top"><a id="a4e54cf228885ed3f277aa2878fac4526"></a>
<a class="el" href="group__group__sar2__enums.html#ga063234382f49c6003504631cdcc2c098">cy_en_sar2_result_alignment_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a4e54cf228885ed3f277aa2878fac4526">resultAlignment</a></td></tr>
<tr class="memdesc:a4e54cf228885ed3f277aa2878fac4526"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the result data alignment, see <a class="el" href="group__group__sar2__enums.html#ga063234382f49c6003504631cdcc2c098">cy_en_sar2_result_alignment_t</a>. <br /></td></tr>
<tr class="separator:a4e54cf228885ed3f277aa2878fac4526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70758b250cb19220abda8bf0a7da7830"><td class="memItemLeft" align="right" valign="top"><a id="a70758b250cb19220abda8bf0a7da7830"></a>
<a class="el" href="group__group__sar2__enums.html#gab710a08c4f378212fccc7ef2388cd1fc">cy_en_sar2_sign_extention_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a70758b250cb19220abda8bf0a7da7830">signExtention</a></td></tr>
<tr class="memdesc:a70758b250cb19220abda8bf0a7da7830"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select whether the result data is signed or unsigned, see <a class="el" href="group__group__sar2__enums.html#gab710a08c4f378212fccc7ef2388cd1fc">cy_en_sar2_sign_extention_t</a>. <br /></td></tr>
<tr class="separator:a70758b250cb19220abda8bf0a7da7830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac30c6ab20a809532fd8002b9a2f08b30"><td class="memItemLeft" align="right" valign="top"><a id="ac30c6ab20a809532fd8002b9a2f08b30"></a>
<a class="el" href="group__group__sar2__enums.html#gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf">cy_en_sar2_post_processing_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#ac30c6ab20a809532fd8002b9a2f08b30">postProcessingMode</a></td></tr>
<tr class="memdesc:ac30c6ab20a809532fd8002b9a2f08b30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select Post processing mode == , see <a class="el" href="group__group__sar2__enums.html#gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf">cy_en_sar2_post_processing_mode_t</a>. <br /></td></tr>
<tr class="separator:ac30c6ab20a809532fd8002b9a2f08b30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1313acc428a4c47f27c666636de0e9b8"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a1313acc428a4c47f27c666636de0e9b8">averageCount</a></td></tr>
<tr class="memdesc:a1313acc428a4c47f27c666636de0e9b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Averaging count.  <a href="#a1313acc428a4c47f27c666636de0e9b8">More...</a><br /></td></tr>
<tr class="separator:a1313acc428a4c47f27c666636de0e9b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a780ea9a80b823d469396d1a352bf974d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a780ea9a80b823d469396d1a352bf974d">rightShift</a></td></tr>
<tr class="memdesc:a780ea9a80b823d469396d1a352bf974d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shift Right.  <a href="#a780ea9a80b823d469396d1a352bf974d">More...</a><br /></td></tr>
<tr class="separator:a780ea9a80b823d469396d1a352bf974d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a074e4e6e2909528923e3322372c2934c"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a074e4e6e2909528923e3322372c2934c">positiveReload</a></td></tr>
<tr class="memdesc:a074e4e6e2909528923e3322372c2934c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Positive pulse reload value.  <a href="#a074e4e6e2909528923e3322372c2934c">More...</a><br /></td></tr>
<tr class="separator:a074e4e6e2909528923e3322372c2934c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e9fbf1dad620008b001fe34265cb04e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a5e9fbf1dad620008b001fe34265cb04e">negativeReload</a></td></tr>
<tr class="memdesc:a5e9fbf1dad620008b001fe34265cb04e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Negative pulse reload value.  <a href="#a5e9fbf1dad620008b001fe34265cb04e">More...</a><br /></td></tr>
<tr class="separator:a5e9fbf1dad620008b001fe34265cb04e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a932d2a72ea2e8156c1b54f412ffa28aa"><td class="memItemLeft" align="right" valign="top"><a id="a932d2a72ea2e8156c1b54f412ffa28aa"></a>
<a class="el" href="group__group__sar2__enums.html#ga835a6d564cab91f15a6cd1598b4fa792">cy_en_sar2_range_detection_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a932d2a72ea2e8156c1b54f412ffa28aa">rangeDetectionMode</a></td></tr>
<tr class="memdesc:a932d2a72ea2e8156c1b54f412ffa28aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select Range detection mode, see <a class="el" href="group__group__sar2__enums.html#ga835a6d564cab91f15a6cd1598b4fa792">cy_en_sar2_range_detection_mode_t</a>. <br /></td></tr>
<tr class="separator:a932d2a72ea2e8156c1b54f412ffa28aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac473fd50bb644296f7d25a1a655151be"><td class="memItemLeft" align="right" valign="top"><a id="ac473fd50bb644296f7d25a1a655151be"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#ac473fd50bb644296f7d25a1a655151be">rangeDetectionLoThreshold</a></td></tr>
<tr class="memdesc:ac473fd50bb644296f7d25a1a655151be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Range detect low threshold (Lo) <br /></td></tr>
<tr class="separator:ac473fd50bb644296f7d25a1a655151be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4ed526a928963903022ae81a08e5215"><td class="memItemLeft" align="right" valign="top"><a id="ac4ed526a928963903022ae81a08e5215"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#ac4ed526a928963903022ae81a08e5215">rangeDetectionHiThreshold</a></td></tr>
<tr class="memdesc:ac4ed526a928963903022ae81a08e5215"><td class="mdescLeft">&#160;</td><td class="mdescRight">Range detect high threshold (Hi) <br /></td></tr>
<tr class="separator:ac4ed526a928963903022ae81a08e5215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ed2918eae4e28d7c0e7730895b945bd"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__sar2__channel__config__t.html#a9ed2918eae4e28d7c0e7730895b945bd">interruptMask</a></td></tr>
<tr class="memdesc:a9ed2918eae4e28d7c0e7730895b945bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the interrupt sources.  <a href="#a9ed2918eae4e28d7c0e7730895b945bd">More...</a><br /></td></tr>
<tr class="separator:a9ed2918eae4e28d7c0e7730895b945bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a id="af729622f4adf0f92a2a1f53301d3297b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af729622f4adf0f92a2a1f53301d3297b">&#9670;&nbsp;</a></span>channelHwEnable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cy_stc_sar2_channel_config_t::channelHwEnable</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If HW is started, or just configured. </p>

</div>
</div>
<a id="ad54b193295aa5640c24d44c269996b7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad54b193295aa5640c24d44c269996b7a">&#9670;&nbsp;</a></span>channelPriority</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t cy_stc_sar2_channel_config_t::channelPriority</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel priority. </p>
<p>0=highest, 7=lowest. </p>

</div>
</div>
<a id="a7a7f4c53be120ca2f61bd0c6066978a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a7f4c53be120ca2f61bd0c6066978a6">&#9670;&nbsp;</a></span>extMuxSelect</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t cy_stc_sar2_channel_config_t::extMuxSelect</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>External analog mux selection. </p>

</div>
</div>
<a id="ac8124b9249f78f966f76aa4d1c024821"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8124b9249f78f966f76aa4d1c024821">&#9670;&nbsp;</a></span>extMuxEnable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cy_stc_sar2_channel_config_t::extMuxEnable</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>External analog mux enable. </p>

</div>
</div>
<a id="ae71ad4dbcdb8d15ab1d1587c978a054d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae71ad4dbcdb8d15ab1d1587c978a054d">&#9670;&nbsp;</a></span>sampleTime</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t cy_stc_sar2_channel_config_t::sampleTime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sample time (aperture) in ADC clock cycles. </p>
<p>The minimum is 1 (0 gives the same result as 1), the minimum time needed for the proper settling is at least 300ns, i.e. 6 clock cycles at the max frequency of 20MHz. </p>

</div>
</div>
<a id="a1313acc428a4c47f27c666636de0e9b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1313acc428a4c47f27c666636de0e9b8">&#9670;&nbsp;</a></span>averageCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t cy_stc_sar2_channel_config_t::averageCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Averaging count. </p>
<p>Active only if post processing mode is set to Averaging or Averaging + Range detect. The valid range is [1..256] </p>

</div>
</div>
<a id="a780ea9a80b823d469396d1a352bf974d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a780ea9a80b823d469396d1a352bf974d">&#9670;&nbsp;</a></span>rightShift</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t cy_stc_sar2_channel_config_t::rightShift</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Shift Right. </p>
<p>When using post processing mode with averaging, the set value is used for the right-shift value of the conversion result. Averaging data may be over 12 bits, therefore the user must ensure the conversion result is not to over 12 bits by using this value. This value is also used to fit the 12-bit result in 8 bits. The valid range is [0..15] </p>

</div>
</div>
<a id="a074e4e6e2909528923e3322372c2934c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a074e4e6e2909528923e3322372c2934c">&#9670;&nbsp;</a></span>positiveReload</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t cy_stc_sar2_channel_config_t::positiveReload</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Positive pulse reload value. </p>
<p>Active only if post processing is set to the Pulse detection. The valid range is [0..255]. </p>

</div>
</div>
<a id="a5e9fbf1dad620008b001fe34265cb04e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e9fbf1dad620008b001fe34265cb04e">&#9670;&nbsp;</a></span>negativeReload</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t cy_stc_sar2_channel_config_t::negativeReload</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Negative pulse reload value. </p>
<p>Active only if post processing is set to the Pulse detection. The valid range is [0..31]. </p>

</div>
</div>
<a id="a9ed2918eae4e28d7c0e7730895b945bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ed2918eae4e28d7c0e7730895b945bd">&#9670;&nbsp;</a></span>interruptMask</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_sar2_channel_config_t::interruptMask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Select the interrupt sources. </p>
<p>See <a class="el" href="group__group__sar2__macros__interrupt.html">Interrupt Masks</a> </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
